package com.itheima.no.mstring;

public class StringDemo06 {
    public static void main(String[] args) {
        String s="李四,24";
        String[] s1 = s.split(" ", 2);
        for (int i = 0; i < s1.length; i++) {
            System.out.println(s1[i]);
        }
    }
}
